<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Http\Request;

class ComposerProvider extends ServiceProvider
{
    /**
     * Register services.
     * 注册视图全局变量
     * @return void
     */
    public function register(Request $request)
    {
//        view()->composer("layouts.footer",function($view) use($request){
//
//        });

    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
